/* eslint-disable import/extensions */
import Vue from 'vue'
import Router from 'vue-router'
import Rhyme from '@/views/Rhyme/index.vue'
import axios from 'axios'

Vue.use(Router)
Vue.prototype.$$ = axios

export default new Router({
  mode: 'history',
  base: process.env.BASE_URL,
  routes: [
    {
      path: '*',
      redirect: '/Rhyme'
    },
    {
      path: '/Rhyme',
      name: 'Rhyme',
      component: Rhyme
    }
  ]
})
